package com.javasm.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author：MoDebing
 * @Version：1.0
 * @Date：2022-09-04-23:13
 * @Description:
 */
@SpringBootApplication
@EnableOAuth2Sso  // 客户端开启单点登录功能
@ComponentScan(basePackages = {"com.*"})
public class SsoClient {
    public static void main(String[] args) {
        SpringApplication.run(SsoClient.class,args);
    }
}
